package com.wx.fresh.custom.controller;

import com.wx.fresh.common.util.CommonResult;
import com.wx.fresh.custom.vo.couponVo.CustomCouponVO;
import com.wx.fresh.custom.vo.couponVo.CustomGetCouponOutVO;
import com.wx.fresh.custom.vo.couponVo.CustomGetCouponVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * custom优惠券模块controller
 *
 * @author salthe
 * @date 2022/4/21
 */

@Api(tags = "custom优惠劵")
@Controller
@RequestMapping("/customCoupon")
public class CustomerCouponController {

    @ApiOperation(value = "新人优惠券", response = CustomCouponVO.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "userId", value = "用户id", required = true, paramType = "form")
    })
    @GetMapping("/rookieCoupon")
    public CommonResult<CustomCouponVO> rookieCoupon(CustomGetCouponVO coupon) {
        return null;
    }


    @ApiOperation(value = "优惠券列表", response = CustomGetCouponOutVO.class)
    @ApiImplicitParams({
            @ApiImplicitParam(name = "userId", value = "用户id", required = true, paramType = "form")
    })
    @GetMapping("/getCoupon")
    public CommonResult<CustomGetCouponOutVO> getCouponAll(CustomGetCouponVO coupon) {
        return null;
    }


}
